<?php

declare(strict_types=1);

namespace App\CustHub\Dto;

use App\Common\Dto\DataObject;

class OperationLogDto extends DataObject
{
    private int $uid;

    private int $main_uid;

    /**
     * 方案ID
     * @var int
     */
    private int $scheme_id;

    /**
     * 方案名称
     * @var string
     */
    private string $name;

    /**
     * 操作内容
     * @var string
     */
    private string $content;

    /**
     * 日志类型
     * @var int
     */
    private int $type;

    /**
     * 方案应用的机器人
     * @var array
     */
    private array $robotIds = [];

    public function getUid(): int
    {
        return $this->uid;
    }

    public function setUid(int $uid): OperationLogDto
    {
        $this->uid = $uid;
        return $this;
    }

    public function getMainUid(): int
    {
        return $this->main_uid;
    }

    public function setMainUid(int $main_uid): OperationLogDto
    {
        $this->main_uid = $main_uid;
        return $this;
    }

    public function getSchemeId(): int
    {
        return $this->scheme_id;
    }

    public function setSchemeId(int $scheme_id): OperationLogDto
    {
        $this->scheme_id = $scheme_id;
        return $this;
    }

    public function getName(): string
    {
        return $this->name;
    }

    public function setName(string $name): OperationLogDto
    {
        $this->name = $name;
        return $this;
    }

    public function getContent(): string
    {
        return $this->content;
    }

    public function setContent(string $content): OperationLogDto
    {
        $this->content = $content;
        return $this;
    }

    public function getType(): int
    {
        return $this->type;
    }

    public function setType(int $type): OperationLogDto
    {
        $this->type = $type;
        return $this;
    }

    public function getRobotIds(): array
    {
        return $this->robotIds;
    }

    public function setRobotIds(array $robotIds): OperationLogDto
    {
        $this->robotIds = $robotIds;
        return $this;
    }
}